﻿using RearLivestock.Common.Domains.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RearLivestock.Common.Domains.zjy
{
    /// <summary>
    /// 种母期初 继承 审核字段
    /// </summary>
    public class BreedingSows : BaseEntity
    {
        /// <summary>
        /// 种母期初Id
        /// </summary>
        [Key]
        public int BreedingSowId { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        [StringLength(100)]
        public string DocumentNumber { get; set; } = string.Empty;

        /// <summary>
        /// 流水号
        /// </summary>
        [StringLength(100)]
        public string SerialNumber { get; set; } = string.Empty;

        /// <summary>
        /// 期初日期
        /// </summary>
        public DateTime? OpeningDate { get; set; }

        /// <summary>
        /// 耳号(基本信息)
        /// </summary>
        public int BasicInforId { get; set; }

        /// <summary>
        /// 栋舍
        /// </summary>
        public int BedroomId { get; set; }

        /// <summary>
        /// 栏位
        /// </summary>
        public int FieldId { get; set; }

        /// <summary>
        /// 转种日期
        /// </summary>
        public DateTime DateofConversion { get; set; }

        /// <summary>
        /// 重量
        /// </summary>
        public int Weight { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsBreedingSow { get; set; }
    }
}
